//
//  QRCodeListCell.swift
//  Order
//
//  Created by Lazyloading on 2020/7/14.
//  Copyright © 2020 lazyloading. All rights reserved.
//

import UIKit
import MGSwipeTableCell

class QRCodeListCell: MGSwipeTableCell {
    
    @IBOutlet weak var icon: UIImageView!
    @IBOutlet weak var accountLabel: UILabel!
    @IBOutlet weak var contentLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        selectionStyle = .none
        layer.cornerRadius = 6
    }
    override var frame: CGRect {
        didSet {
            var newFrame = frame
            newFrame.origin.x += 15
            newFrame.origin.y += 5
            newFrame.size.width -= 30
            newFrame.size.height -= 10
            super.frame = newFrame
        }
    }
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
    
}
